package com.iqiu.cms.entity;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.ibeetl.admin.core.util.ValidateConfig;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import javax.validation.constraints.NotNull;
import java.util.Date;


/* 
* 
* gen by Spring Boot2 Admin 2019-03-19
*/
public class CoreAd extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	

    private String title ;
	

    private String url ;




    private String img ;
    private Integer imgid ;

    private Date createTime ;
	
    public CoreAd()
    {
    }
    public Integer getImgid() {
        return imgid;
    }

    public void setImgid(Integer imgid) {
        this.imgid = imgid;
    }

    public Integer getId(){
	    return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    public String getTitle(){
	    return  title;
    }
    public void setTitle(String title){
        this.title = title;
    }

    public String getUrl(){
	    return  url;
    }
    public void setUrl(String url){
        this.url = url;
    }

    public String getImg(){
	    return  img;
    }
    public void setImg(String img){
        this.img = img;
    }

    public Date getCreateTime(){
	    return  createTime;
    }
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }


}
